package com.example.flutter_sdk_demo

import android.os.Bundle
import com.example.flutter_sdk_demo.toast.ToastProviderPlugin
import io.flutter.embedding.android.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        GeneratedPluginRegistrant.registerWith(flutterEngine!!)
        ToastProviderPlugin.register(this, flutterEngine!!.dartExecutor.binaryMessenger)
    }
}
